import React, {useEffect} from 'react';
import {useLocation} from "react-router-dom";

/**
 * 搜索结果页
 * @param props
 * @returns {Element}
 * @constructor
 */
function SearchPage(props) {
    const location = useLocation()
    useEffect(() => {
        console.log(location.state)
    }, [location.state]);
    return (
        <div></div>
    );
}

export default SearchPage;